package render;

import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import analyser.Analyser;

@Component(value="pr")
public class PieRender implements Render {

	@Resource(name="ca")
	private Analyser analyser;
	
	public void setAnalyser(Analyser analyser) {
		this.analyser = analyser;
	}

	@Override
	public void render() {
		analyser.analyse();
		System.out.println("Pie Render.....");

	}

}
